package me.kuye.jkuye.plugin.activerecord;

import java.sql.Connection;
import java.util.List;

import me.kuye.jkuye.util.DatabaseUtil;

public class Db {
	private static DatabaseUtil databaseUtil=null;
	
	static void init(){
		databaseUtil=DatabaseUtil.use();
	}
	public static List query(Config config, Connection connection, String sql, Object[] args) {
		return databaseUtil.query(config,connection,sql,args);
	}

}
